<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>站内信管理</title> <#include "/WEB-INF/content/module-index.html">
<script type="text/javascript">

$(function(){
	$("#search").click(function(){
		$("#grid").datagrid("reload",{"uid":$("#mobile").val()});		
	});	
});
function typeFormatter(value,rowIndex,rowData){
	if(value==0){
		return "票卷";
	}else
		if(value==1){
			return "在线支付";
		}else
			if(value==2){
				return "会员卡支付";
			}else
				return "未知";
}

function statusFormatter(value,rowIndex,rowData){
	if(value==0){
		return "代付款";
	}else
		if(value==1){
			return "完成";
		}else
			return "退款";
}
</script>
<style>
a.btn-border{
	border: 1px solid #ccc;
}
</style>
</head>
<body>
<body class="easyui-layout">
	<div region="center" style="padding: 5px; background:#eee;">
		<div id="toolbar">	
			<label>手机号码:</label><input id="mobile"/>						
			<a id="search" class="easyui-linkbutton" icon="icon-search" style="border: 1px solid #ccc" plain="true">搜索</a>
		</div>
		<table id="grid" class="easyui-datagrid" url="query" align="center" idField="mid" rownumbers="true" striped="true" fitColumns="true" fit="true" pagination="true" singleSelect="true" toolbar="#toolbar">
			<thead>
				<tr>
					<th field="uid" width="20">手机号码</th>
					<th field="rid" width="10">充值卡名称</th>
					<th field="createtime" width="10" align='center'>创建时间</th>
<!-- 					<th field="type" width="20" formatter="typeFormatter">支付方式</th>
					<th field="amount" width="20">支付金额</th>
					<th field="status" width="20" formatter="statusFormatter">支付状态</th>
					<th field="orderTime" width="20">下单时间</th> -->
				</tr>
			</thead>
		</table>
	</div>
</body>
</body>

</html>